package com.dwxt.mall.dao;

import com.dwxt.mall.entity.TrainHall;
import com.dwxt.mall.entity.TrainHallExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TrainHallMapper {
    long countByExample(TrainHallExample example);

    int deleteByExample(TrainHallExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TrainHall record);

    int insertSelective(TrainHall record);

    List<TrainHall> selectByExampleWithBLOBs(TrainHallExample example);

    List<TrainHall> selectByExample(TrainHallExample example);

    TrainHall selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TrainHall record, @Param("example") TrainHallExample example);

    int updateByExampleWithBLOBs(@Param("record") TrainHall record, @Param("example") TrainHallExample example);

    int updateByExample(@Param("record") TrainHall record, @Param("example") TrainHallExample example);

    int updateByPrimaryKeySelective(TrainHall record);

    int updateByPrimaryKeyWithBLOBs(TrainHall record);

    int updateByPrimaryKey(TrainHall record);
}